package com.itheima.youdianda.dto;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.itheima.youdianda.pojo.*;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class BaseInfoDto implements Serializable {
    private List<YddCate> all_cate;

    private Integer advpos_num;
    private Integer tag_num;
    private Integer admin_num;
    private Integer article_num;
    private Integer cate_num;
    private Integer advimg_num;

    private List<YddUser> new_user;

    private List<YddArticle> hot_article;

    private UserNumDto user;
}
